//
//  SoftwareIntroduce.m
//  FunRead
//
//  Created by dllo on 15/5/28.
//  Copyright (c) 2015年 华东伟. All rights reserved.
//

#import "SoftwareIntroduce.h"

@interface SoftwareIntroduce ()

@end

@implementation SoftwareIntroduce
- (void)dealloc
{
    [super dealloc];
}


- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
        
    }
    return self;
}



- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"FunRead";
    


    [self.view setBackgroundColor:[UIColor whiteColor]];
    self.navigationController.navigationBar.translucent = NO;
    
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectZero];
    
    [self.view addSubview:label];
    label.font = [UIFont systemFontOfSize:20];
    label.numberOfLines = 0;
    label.text = @"该软件有贾某某, 华某某, 韩某某共同开发, 为大家阅读小说提供方便";
    NSDictionary *dic = @{NSFontAttributeName:[UIFont systemFontOfSize:20]};
    CGRect rect = [label.text boundingRectWithSize:CGSizeMake([UIScreen mainScreen].bounds.size.width - 10, 100000) options:NSStringDrawingUsesLineFragmentOrigin attributes:dic context:nil];
    label.frame = CGRectMake(5, 5, [UIScreen mainScreen].bounds.size.width -  10, rect.size.height);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
